//package com.liqi.frame.comm.controller.manager;
//
//import org.springframework.amqp.rabbit.core.RabbitTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.ResponseBody;
//
///**
// * @author Administrator
// * @since 2020/9/11 13:32
// */
//@Controller
//@RequestMapping("/commTestMQ/ajax")
//public class CommTestMQAjaxController {
//    @Autowired
//    private RabbitTemplate rabbitTemplate;
//
//    @RequestMapping("sendMQ")
//    @ResponseBody
//    public void sendMQ() {
//        rabbitTemplate.convertAndSend("topic01", "rout_0001", "fdsfdsfsdfsdf");
//    }
//
//    @RequestMapping("sendMQ2")
//    @ResponseBody
//    public void sendMQ2() {
//        rabbitTemplate.convertAndSend("topic01", "rout_0002", "222222222");
//    }
//}
